<!DOCTYPE html>
<div ng-controller="accountManagementCtrl">
	<div class="well">
		<div class="titleContainer">
			<div class="leftTitle">账号管理</div>
		</div>
		
		<div class="formContainer">
			<div class="form-horizontal">
				<div class="form-group">
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">属性名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.shopName"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">账号名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.account"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">负责人</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.principal"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">联系方式</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.phone_num"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="userLevel_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">属性级别</label>
			                <div class="col-sm-8">
			                	<input type="text" id="userLevel"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">账号状态</label>
			                <div class="col-sm-8">
			                	<input type="text" id="accountState"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" ng-show="accountUpOrDown_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">上下架</label>
			                <div class="col-sm-8">
			                	<input type="text" id="accountUpOrDown"/>
			                </div>
			            </div>
			        </div>
<!-- 			        <div class="form-horizontal col-sm-4" ng-show="userLabel_show">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">属性标签</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.tag"/>
			                </div>
			            </div>
			        </div> -->
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间（始）</label>
			                <div class="col-sm-8">
			                	<input type="text" id="startTime"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">创建时间（止）</label>
			                <div class="col-sm-8">
			                	<input type="text" id="endTime"/>
			                </div>
			            </div>
			        </div>
			      
			       <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="search()">查询</button>
					</div>
				</div>
			</div>
		</div>
		
		<div id="operateButtonGroup" class="operateContainer">
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',true)">全选</button>
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',false)">取消</button>
		 	<button class="k-button k-state-default" ng-click="downloadTableData(1)">筛选导出</button>
			<button class="k-button k-state-default" ng-click="downloadTableData(2)">选中导出</button>
			<button class="k-button k-state-default" ng-click="addUser()" ng-show="createAccount_show">创建账号</button>
		</div>
	
		<div class="tableList">
			<div kendo-grid="grid" k-options="gridOptions"></div>
		</div>
	</div>
	
	<div kendo-window="userWindow" k-title="'商户创建'" k-width="500" k-min-height="200" k-visible="false" k-modal="true">
		<div class="windowForm col-sm-11">
			<div class="form-horizontal" ng-show="userLevelForWindow_show">
		         <div class="form-group">
		             <label class="col-sm-2 control-label">属性级别</label>
		             <div class="col-sm-8">
		             	<input type="text" id="userLevel_window"/>
		             </div>
		         </div>
		    </div>
		    <div class="buttons-wrap ">
				<button class="k-button k-state-default" ng-click="createUser()">确定</button>
			</div>
		</div>
	    
	    
	
	
	</div>
	
</div>